package com.qi.spzx.manager.service;

import com.github.pagehelper.PageInfo;
import com.qi.spzx.model.dto.product.ProductDto;
import com.qi.spzx.model.entity.product.Product;

/**
 * @Description TODO
 * @Author dingchunlin
 * @Date 2024/2/23 18:52
 * @Version 1.0.0
 */
public interface ProductService {


    PageInfo<Product> findByPage(Integer page, Integer limit, ProductDto productDto);


    void save(Product product);

    Product getById(Long id);

    void updateById(Product product);

    void deleteById(Long id);

    void updateAuditStatus(Long id, Integer auditStatus);

    void updateStatus(Long id, Integer status);
}
